package net.atos.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

@Component("bookController")
public class BookController {

    @Autowired
    BookService service;

    @Transactional
    public void save(final Book book) {
	service.save(book);
    }
}
